package com.bootdo.appsystem.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.appsystem.dao.ImageinfoDao;
import com.bootdo.appsystem.domain.ImageinfoDO;
import com.bootdo.appsystem.service.ImageinfoService;



@Service
public class ImageinfoServiceImpl implements ImageinfoService {
	@Autowired
	private ImageinfoDao imageinfoDao;
	
	@Override
	public ImageinfoDO get(Integer imageid){
		return imageinfoDao.get(imageid);
	}
	
	@Override
	public List<ImageinfoDO> list(Map<String, Object> map){
		return imageinfoDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return imageinfoDao.count(map);
	}
	
	@Override
	public int save(ImageinfoDO imageinfo){
		return imageinfoDao.save(imageinfo);
	}
	
	@Override
	public int update(ImageinfoDO imageinfo){
		return imageinfoDao.update(imageinfo);
	}
	
	@Override
	public int remove(Integer imageid){
		return imageinfoDao.remove(imageid);
	}
	
	@Override
	public int batchRemove(Integer[] imageids){
		return imageinfoDao.batchRemove(imageids);
	}

	@Override
	public int updateGoodsAllid(Integer yuan, Integer xian) {
		return imageinfoDao.updateGoodsAllid(yuan,xian);
	}

}
